From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 3 May 2006 09:59:54 +0000 (+0100) Subject: Clean up xen-mkbuildtree-pre for ia64 xenlinux. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16108^2~22^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=2c76a9ef09159e06960c574311a8cb04765fcc7c;p=xen.git Clean up xen-mkbuildtree-pre for ia64 xenlinux. Signed-off-by: Dan Magenheimer --- diff --git a/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre b/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre index 4f66bf6315..63abd7211a 100755 --- a/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre +++ b/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre @@ -14,28 +14,12 @@ function try_to_mv() { fi } -function try_to_mkdir() { - if [ ! -e $2 ] - then - mv $1 $2 - mkdir $1 - fi -} - -try_to_mkdir mm mm.xen-x86 -try_to_mv net net.xen-x86 -try_to_mv kernel kernel.xen-x86 -try_to_mv drivers/acpi/tables.c drivers/acpi/tables.c.xen-x86 -#try_to_mv arch/xen/kernel drivers/xen/core -#try_to_mkdir arch/xen arch/xen.xen-x86 -#try_to_mv arch/xen.xen-x86/configs arch/xen -#try_to_mv include/asm-generic include/asm-generic.xen-x86 -try_to_mkdir include/linux include/linux.xen-x86 +try_to_mv mm/Kconfig mm/Kconfig.xen-x86 # need to grab a couple of xen-modified files for generic_page_range and # typedef pte_fn_t which are used by driver/xen blkif -ln -sf ../mm.xen-x86/memory.c mm/ -ln -sf ../linux.xen-x86/mm.h include/linux/ +#ln -sf ../mm.xen-x86/memory.c mm/ +#ln -sf ../linux.xen-x86/mm.h include/linux/ #eventually asm-xsi-offsets needs to be part of hypervisor.h/hypercall.h ln -sf ../../../../xen/include/asm-ia64/asm-xsi-offsets.h include/asm-ia64/xen/ diff --git a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h index ba17a56210..208c392fcc 100644 --- a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h +++ b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h @@ -134,7 +134,6 @@ HYPERVISOR_poll( #define pte_mfn(_x) pte_pfn(_x) #define __pte_ma(_x) ((pte_t) {(_x)}) #define phys_to_machine_mapping_valid(_x) (1) -#define kmap_flush_unused() do {} while (0) #define pfn_pte_ma(_x,_y) __pte_ma(0) #ifndef CONFIG_XEN_IA64_DOM0_VP //XXX #define set_phys_to_machine(_x,_y) do {} while (0)